package com.chinasoft.ssm.service;

import com.chinasoft.ssm.pojo.Admin;
import com.chinasoft.ssm.pojo.User;

import java.util.List;

public interface AdminService {

    Boolean login(String username, String password);
    Boolean changePW(String username, String password);

    List<Admin> selectAll();

    Admin selectone(String name);

    Admin selectById(int id);

    Integer update(Admin admin);

    Admin login1(String name);
}
